if the visible of cd fld "Script" then send mouseUp to bg btn "Hide Script"
end closeCard
on playTune
global Tempo, Pitch
put "A" & Pitch & "Q. GE F#Q EQ DQ EQ F#Q DQ EE" && "F#E GE EE F#Q. EE DQ C#Q DH AQ. GE F#Q EQ DQ EQ F#Q DQ EE" && "F#E GE EE F#Q. EE DQ C#Q DH EQ. F#E GQ EQ F#Q. GE AQ EQ F#E" && "G#E AQ BE C" & Pitch+1 & "#E DQ C#Q B" & Pitch & "Q AH AQ." && "GE F#Q EQ DQ EQ F#Q DQ BE BE BE BE AQ. GE F#Q EQ DH" into tune
play "Harpsichord" tempo Tempo tune
end playTune
-- part 2 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=0 right=16 bottom=497
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on drawIt
put ScrollBar(false, true, false, 0, 100, 50, -1) into it